package com.wu.http.server;


import com.wu.javax.servlet.ServletRequest;
import com.wu.javax.servlet.ServletResponse;

/**
 * 静态处理器
 */
public class StaticProcessor implements Processor {
    @Override
    public void process(ServletRequest request, ServletResponse response) {
        //重定向要发出302的响应头  3xx属于http协议
        ((MyHttpServletResponse) response).sendRedirect();
    }
}
